/**
 * 中锋队员类
 * @author liaosh
 * @date 2022-10-18 23:24
 */
public class ForeignCenter  {

    String name;

    public void setName(String name) {
        this.name = name;
    }

    void foo_attack() {
        System.out.println("外籍中锋球员：" + name + "，开始进攻");
    }

    void foo_detack() {
        System.out.println("外籍中锋球员：" + name + "，开始防守");
    }
}
